﻿Imports SuporteModel
Public Interface IUsuario


    'Serviços Usuarios
    Function Login(ByVal parNome As String, ByVal parSenha As String) As Usuario

    Function BuscaUsuario(ByVal parIdUsuario As Integer) As Usuario

    Function CadastrarUsuario(ByVal parUsuario As Usuario) As Boolean

    Function AtualizarUsuario(ByVal parIdUsuario As Integer, ByVal parUsuarioNovo As Usuario) As Boolean

    Function ExcluirUsuario(ByVal parIdUsuario As Integer) As Boolean

    'Serviços tarefas
    Function CadastroTarefa(ByVal parTarefa As Tarefa) As Boolean

    Function ListaTarefa(ByVal parIdUsuario As Integer) As List(Of Tarefa)

    Function ListaTarefa(ByVal parDataInicio As DateTime, ByVal parDataFim As DateTime) As List(Of Tarefa)

    Function ExcluirTarefa(ByVal parIdTarefa As Integer) As Boolean

    Function ListaTarefa(ByVal parDataInicio As DateTime, ByVal parDataFim As DateTime, ByVal parIdChamado As Integer) As List(Of Tarefa)


    'Serviços Tecnicos
    Function ListarTecnicos() As List(Of Tecnico)

    Function ExcluirTecnico(ByVal parIdTecnoco As Integer) As Boolean

    Function AtualizarTecnico(ByVal parIdTecnico As Integer, ByVal parNovoTecnico As Tecnico) As Boolean








End Interface
